$OpenBSD: patch-src_command_c,v 1.3 2017/05/03 12:44:00 jca Exp $
--- src/command.c.orig
+++ src/command.c
@@ -1388,9 +1388,9 @@ sco_get_pty(void)
 #endif
 
 #if defined(HAVE_POSIX_OPENPT) || defined(HAVE_DEV_PTMX)
-inline int posix_get_pty(void);
+static inline int posix_get_pty(void);
 
-inline int
+static inline int
 posix_get_pty(void)
 {
 
